<?php

require_once './include/common.inc.php';

$page_title = 'jans2en furniture - Links';
$menu_id = 12;
$postiondiv='<div class="position"><a href="index.php">首页</a> &gt; <span class="position"> 网站链接</span></div>';
//$baner_img='<img height="63" border="0" align="right" width="397" alt="Links" src="css/images/pagetitle_links.jpg">';
$baner_img='<div class="bigtitle">网站链接</div>';

$sql = "SELECT `id`, `titlezh`, `url` FROM `links` WHERE `publish_flag` = 1 ORDER BY `seq` ASC";
$query = $db->query($sql);
while($rs = $db->fetch_array($query)) {
    $out_ary[] = $rs;
}

// -------------- guideͼƬ start ----------------------------------------
$system_ary = getSystemValue("");
$content_pic = $system_ary['picture_other_linksen'];
$guide_pic = $system_ary['picture_links'];
if (trim($guide_pic) == "" || !file_exists("attachments/system/" . $guide_pic)) {
    $guide_pic = 'attachments/system/no_guide.gif';
} else {
    $guide_pic = 'attachments/system/' . $guide_pic;
}
if (trim($content_pic) == "" || !file_exists("attachments/system/" . $content_pic)) {
    $content_pic = 'attachments/system/no_content.gif';
} else {
    $content_pic = 'attachments/system/' . $content_pic;
}
// -------------- guideͼƬ end ------------------------------------------

 
	browseTracking(9,0,'Home > Link');

require_once PrintEot('header');
require_once PrintEot('links');
require_once PrintEot('footer');

?>